package com.mszlu.blog.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMQFanoutConfig {

    @Bean
    public Queue fanoutQueue1(){
        return new Queue("mq.cache");
    }

}
